package com.springboot.chongwu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.springboot.chongwu.entity.SysRoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色菜单ID Mapper 接口
 * </p>
 *
 * @author astupidcoder
 */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    /**
     * 获取当前账户权限码集合
     * @param managerId
     * @return
     */
    List<String> getMenuList(@Param("managerId") Object managerId);

}
